﻿namespace Agile.Paypal
{
    /// <summary>
    /// Paypal subscription request
    /// </summary>
    public class PaypalSubscriptionRequest
    {
        /// <summary>
        /// Gets or sets the recurrences.
        /// </summary>
        /// <value>The recurrences.</value>
        public int Recurrences { get; set; }
        /// <summary>
        /// Gets or sets the frequency.
        /// </summary>
        /// <value>The frequency.</value>
        public char Frequency { get; set; }
        /// <summary>
        /// Gets or sets the amount.
        /// </summary>
        /// <value>The amount.</value>
        public decimal Amount { get; set; }
   
        /// <summary>
        /// Gets or sets the name of the product.
        /// </summary>
        /// <value>The name of the product.</value>
        public string ProductName { get; set; }
       
        /// <summary>
        /// Gets or sets the custom data.
        /// </summary>
        /// <value>The custom data.</value>
        public string CustomData { get; set; }
        /// <summary>
        /// Gets or sets the on success.
        /// </summary>
        /// <value>The on success.</value>
        public string OnSuccess { get; set; }
    }
}
